particles diffusion and drift_charges

Modified from original

File:
Export:
Mode: Interactive
Commands and Code: Bottom
Created with Highcharts 10.3.1x-coordinateFrequency ofparticlesChart context menuX distribution of red particles-40-30-20-1001020304002040
Created with Highcharts 10.3.1x-coordinateFrequency ofparticlesChart context menuX distribution of yellow particles-40-30-20-1001020304002550
Direction of the electric field -->
observer> ask patches with pxcor < 10 and pycor > 5 [set pcolor blue]
ERROR: WITH expected this input to be a TRUE/FALSE block, but got a number instead
observer> ask patches with [pxcor < 10 and pycor > 5] [set pcolor blue]
observer> ask patches with [pxcor < 10 and pycor > 5] [set pcolor blue]